package com.ubs.web.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.ubs.dom.Account;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("portal")
public interface ProtalService extends RemoteService {
	
	void registerAccount(Account account) throws IllegalArgumentException;
	
	Account loginAccount(String login, String passwordMD5) throws IllegalArgumentException;
}
